//
//  ChatViewController.h
//  BaiYing_Thinker
//
//  Created by 鹏 朱 on 15/10/26.
//  Copyright (c) 2015年 XKJH. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ChatBottomView.h"
#import <iflyMSC/iflyMSC.h>
#import "TouchTableView.h"

typedef TouchTableView* (^GetTableViewBlock)(BOOL);

@interface ChatViewController : UIScrollView<UITableViewDataSource,UITableViewDelegate,IFlySpeechSynthesizerDelegate,TouchTableViewDelegate>

@property(nonatomic,retain) TouchTableView *tableView;
@property(nonatomic,retain) ChatBottomView *chatBottomView;
@property(nonatomic, retain) NSMutableArray *dataListOne;
@property(nonatomic, retain) NSMutableArray *previousDataList;
@property(nonatomic, retain) NSMutableArray *nextDataList;

- (id)initWithFrame:(CGRect)frame dataSource:(NSMutableArray *)dataSource previousDataList:(NSMutableArray *)previousDataList nextDataList:(NSMutableArray *)nextDataList;
- (void)reloadData;
- (void)scrollToBottom;

@end
